﻿using System;

namespace Fast
{
    /// <summary>
    /// 启动类特性，用于排序
    /// </summary>
    [SkipScan, AttributeUsage(AttributeTargets.Class)]
    internal class FastStartupAttribute : Attribute
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="order"></param>
        internal FastStartupAttribute(int order)
        {
            Order = order;
        }

        /// <summary>
        /// 排序，值越小，越先执行
        /// </summary>
        public int Order { get; set; }
    }
}
